/* 首页内容样式 */
.banner{

    height: 500px;
    background-color: pink;
}

.banner .wrapper{
    position: relative;

    height: 500px;
    background-color: red;
    overflow: hidden;

}

.banner .pic{
    display: flex;
    width: 3720px;

}

.subnav{
    position: absolute;
    top: 0;
    left: px;
    width: 250px;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.5);

}

.subnav li{
    height: 50px;
    line-height: 50px;
    padding-left: 30px;
    padding-right: 12px;
    display: flex;
    justify-content: space-between;
    color: #ffffff;

    cursor: pointer;
}

.subnav li a{
    margin-right: 5px;
    font-size: 14px;

    color: #ffffff;
}

.subnav li .classify{
    margin-right: 14px;
    font-size: 16px;

}

.subnav li .iconfont{
    font-size: 14px;
}

.subnav li:hover{
    background-color: #00be9a;
}

/* 圆点指示器 */
.banner ol{
    position: absolute;
    bottom: 17px;
    right: 16px;
    display: flex;
}

.banner ol li{
    width: 22px;
    height: 22px;

    border-radius: 50%;
    margin-left: 8px;
    cursor: pointer;
}

.banner ol i{
    display: block;

    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255,0.5);

    border-radius: 50%;
    margin: 4px;
}

.banner ol .current{
    background-color: rgba(255, 255, 255,0.5);

}

.banner ol .current i{
    background-color: #fff;
}

.banner ol li:hover{
    background-color: rgba(255, 255, 255,0.5);
}


/* 新鲜好物 */
/* 标题 公共样式*/
.title{
    display: flex;
    margin-top: 40px;
    margin-bottom: 30px;
    justify-content: space-between;
    height: 42px;
}

.title .left{
    display: flex;
}


.title .left h3{
    font-size: 30px;
    color: #333333;
}

.title .left p{
    align-self: end;
    margin-left: 35px;
    font-size: 16px;
    color: #a1a1a1;
}

.title .right .more{

    font-size: 16px;
    line-height: 42px;

    color: #a1a1a1;
}

.title .right .more .iconfont{
    margin-left: 10px;

}

/* 内容 公共样式 */
.bd ul{
    display: flex;
    justify-content: space-between;

}

.bd li{
    width: 304px;
    height: 404px;
    background-color: #EEF9F4;
}

.bd li .pic{
    width: 304px;
    height: 304px;

}

.bd li .txt{
    text-align: center;
}

.bd li h4{
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 20px;
}

.goods .bd p{
    font-size: 18px;
    color: #FF2113;
}

.goods .bd p span{
    font-size: 22px;
}

.recommend .bd li{
    background-color: #fff;

}

.recommend .bd p{
    color: #a1a1a1;
}


.brand{
    height: 468px;
    background-color: #F5F5F5;
}

.brand .wrapper{
    overflow: hidden;
    height: 468px;
}


.brand .title{
    position: relative;
    margin-bottom: 40px;
}

.brand .button{
    display: flex;

    position: absolute;
    right: 0;
    bottom: -25px;
}

.brand .button a{
    margin-left: 12px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #fff;

}

.brand .button .prev{
    background-color: #ddd;
}

.brand .button .next{
    background-color: #00be9a;
}

.brand .bd li{
    width: 244px;
    height: 306px;
}

.fresh .title{
    margin-top: 60px;
    margin-bottom: 20px;

}

.fresh .right{
    display: flex;
}

.fresh .right ul{
    display: flex;
    
    margin-top: 10px;
    margin-right: 58px;
}

.fresh .right ul a{
    display: block;
    margin-left: 6px;
    padding: 0 7px;
    height: 20px;
    line-height: 20px;

}

.title .right ul .active{
    background-color: #00be9a;
    color: #fff;
}

.content{
    display: flex;
    justify-content: space-between;

}

.content .left{
    width: 248px;
    height: 610px;
}

.content .right{
    width: 968px;
    height: 610px;
    
}

.content .right ul{
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    /* padding: 0; */

}


.content .right li{
    padding-left: 10px;
    overflow: hidden;
    position: relative;
    width: 242px;
    height: 305px;
}

/* 产品内容 */
.content .pic{
    margin-top: 14px;

    width: 200px;
    height: 180px;
}

.content .info{
    margin-top: 14px;
    margin-bottom: 5px;
    height: 60px;
    line-height: 19px;
}

.content .price{
    color: #FF2113;

}

.content .price span{
    font-size: 22px;
    margin-left: 5px;
}

.content li .cover{
    padding-top: 15px;
    position: absolute;
    left: 0px;
    bottom: -86px;
    width: 242px;
    height: 82px;
    background-color: #00be9a;
    text-align: center;
    color: #ffffff;
    transition: all 0.5s;
}

.content .cover p:nth-child(1){
    font-size: 18px;
}

.content .cover p:nth-child(2){
    margin:  3px auto 6px;

    width: 120px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.11);
}

.content .cover p:nth-child(3){
    font-size: 13px;
}

.content .cover p:nth-child(3) .iconfont{
    font-size: 14px;

}

/* 鼠标悬停到li，显示cover，改变位置 */
.content .right li:hover .cover{
    bottom: 0px;
}

.content .right li:hover {
    border: 2px solid #00be9a;

}

.topic{
    margin-bottom: 40px;
}

.topic .title{
    margin-top: 100px;

}

.topic-bd ul{
    display: flex;
    justify-content: space-between;

}

.topic-bd ul li{
    width: 405px;
    height: 355px;

}

.topic-bd .pic{
    width: 405px;
    height: 288px;
    position: relative;

}

.topic-bd .txt{
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    align-items: center;

    width: 405px;
    height: 67px;
    font-size: 14px;
    color: #666;
}


.topic-bd .txt .left{
    display: flex;
}

.topic-bd .txt .left p{
    margin-right: 20px;

}

.topic-bd .txt .left p:nth-child(1) i{
    color: #AA2113;
}


.topic-bd .cover{
    display: flex;
    justify-content: space-between;
    align-items: center; 
    
    position: absolute;
    left: 0;
    bottom: 0;
    
    padding: 0 15px;
    width: 405px;
    height: 90px;
    background-image: linear-gradient(180deg, rgba(137,137,137,0.00) 0%, rgba(0,0,0,0.90) 100%);
}

.topic-bd .cover .left{
    color: #ffffff;
}

.topic-bd .cover .left h4{
    margin-bottom: 6px;
    font-size: 20px;
}

.topic-bd .cover .right{
    padding: 0 7px;
    height: 25px;
    background-color: #fff;
    color: #AA2113;
    font-size: 15px;
    line-height: 25px;

}

.topic-bd .cover .right span{
    font-size: 20px;

}



